package com.qf.hospital.service;

import com.github.pagehelper.PageInfo;
import com.qf.hospital.dto.ReportDTO;
import com.qf.hospital.entity.Report;
import com.qf.hospital.vo.ReportVO;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project hospital
 * @Package com.qf.hospital.service
 * @Description: ${TODO}
 * @Date 2021/10/19 18:41
 */
public interface ReportService {

    //查询门诊总人数
    Integer findReportCountTotal();

    //查询今日问诊人数
    Integer findReportCountCurrent();

    //查询患者信息
    List<ReportVO> findPatientInfo(Integer cc, String name);

    //查重
    Integer findPatientByPhoneAndCarid(String phone, String carid);

    //添加患者
    void addReport(ReportDTO reportDTO);

    //处方划价---患者信息查找
    PageInfo<Report> findPresentionInfo(String name, Integer page, Integer limit);

    //查找病因
    String findSickReason(Integer reid);

    Report findById(Integer reid);

    PageInfo<Report> findPatientByDrugName(String durgname, Integer page, Integer limit);
}
